import server from '../utils/request.js'
export function user_login( payload = {} ){
    return service.post('/api/user/login',payload);
}

export function user_register( payload = {} ){
    return service.post('/api/user/register',payload);
}

export function bao(payload={}){
    return server.get('/api/tuan/list',{params:payload})
}
export function shop_favlist( payload = {} ){
    return service.get('/api/shop/favlist',{ params: payload });
}
export function shoplist(payload={}){
    return server.get('/api/shop/list',{params:payload})
}
export function shop_shopinfo( payload = {} ){
    return service.get('/api/shop/shopinfo',{ params: payload });
}